//
//  XQCourseVideoCommentMode.swift
//  XiaoQiQiaoSwift
//
//  Created by tech-lab on 2016/12/2.
//  Copyright © 2016年 校企桥. All rights reserved.
//

import ObjectMapper
import UIKit


class XQCourseVideoCommentMianMode: Mappable {
    var avatar : String?
    var c_time : String?
    var content : String?
    var course_id : String?
    var id : String?
    var nick_name : String?
    var pubid : String?
    var repid : String?
    
    required init?(map: Map) {
        
    }
    
    //映射heades字典中的所有键值
    func mapping(map: Map) {
        
        avatar <- map["avatar"]
        c_time <- map["c_time"]
        content <- map["content"]
        course_id <- map["course_id"]
        id <- map["id"]
        nick_name <- map["nick_name"]
        pubid <- map["pubid"]
        repid <- map["repid"]
    }

}

class XQCourseVideoCommentMode: Mappable {

    var error : NSString?
    var main : [XQCourseVideoCommentMianMode]?
    
    
    required init?(map: Map) {
        
    }
    
    //映射heades字典中的所有键值
    func mapping(map: Map) {
        
        main <- map["main"]
        error <- map["error"]
        
    }

 
}
